package com.sfc.spiderweb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.util.List;

@Data
@NoArgsConstructor
@ApiModel(description = "SaleProhibitedWords参数实体")
public class SaleProhibitedWordsParam {

    @ApiModelProperty("违禁词组")
    private List<String> word;

    @ApiModelProperty("平台渠道")
    private String paltform;

    @ApiModelProperty("表categories的id")
    private String categoriesIdsStr;

    @ApiModelProperty("1-default:查询有则返回第一条，无则返回false   2-查询全部违禁词")
    @Min(value = 1, message = "type最小值为1|Type min 1")
    @Max(value = 2, message = "type最大值为2|Type Max 2")
    private Integer type;


}
